import { ElTooltip } from 'element-plus'
export const initTooltip = (Vnode: JSX.Element, tipsConfig: {
  content: string,
  placement: "top" | "right"
}) => (
  <ElTooltip
    class="box-item"
    effect="dark"
    content={tipsConfig.content}
    placement={tipsConfig.placement}
  >
    {Vnode}
  </ElTooltip>
)